import Layout from '@/layout'

export default {
  path: '/employee',
  component: Layout,
  children: [
    {
      path: '',
      name: 'employee',
      component: () => import('@/views/employee/index'),
      meta: { title: '员工管理', icon: 'people' }
    },
    {
      // path: '/employee/detail',
      path: 'detail/:id?',
      // path: '/employee/detail/:id?',
      // path: '/abc',
      name: 'employee11',
      hidden: true,
      component: () => import('@/views/employee/Detail'),
      meta: { title: '员工管理2', icon: 'people' }
      // children: [
      //   {
      //     xxx
      //   }
      // ]
    }
  ]
}
